﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FEB RID: 4075
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournCurInfo : IMessage<RogueTournCurInfo>, IMessage, IEquatable<RogueTournCurInfo>, IDeepCloneable<RogueTournCurInfo>, IBufferMessage
	{
		// Token: 0x17003392 RID: 13202
		// (get) Token: 0x0600B64D RID: 46669 RVA: 0x001EC53B File Offset: 0x001EA73B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournCurInfo> Parser
		{
			get
			{
				return RogueTournCurInfo._parser;
			}
		}

		// Token: 0x17003393 RID: 13203
		// (get) Token: 0x0600B64E RID: 46670 RVA: 0x001EC542 File Offset: 0x001EA742
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournCurInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003394 RID: 13204
		// (get) Token: 0x0600B64F RID: 46671 RVA: 0x001EC554 File Offset: 0x001EA754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournCurInfo.Descriptor;
			}
		}

		// Token: 0x0600B650 RID: 46672 RVA: 0x001EC55B File Offset: 0x001EA75B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurInfo()
		{
		}

		// Token: 0x0600B651 RID: 46673 RVA: 0x001EC564 File Offset: 0x001EA764
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurInfo(RogueTournCurInfo other) : this()
		{
			this.rogueTournCurAreaInfo_ = ((other.rogueTournCurAreaInfo_ != null) ? other.rogueTournCurAreaInfo_.Clone() : null);
			this.rogueTournCurGameInfo_ = ((other.rogueTournCurGameInfo_ != null) ? other.rogueTournCurGameInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B652 RID: 46674 RVA: 0x001EC5C0 File Offset: 0x001EA7C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurInfo Clone()
		{
			return new RogueTournCurInfo(this);
		}

		// Token: 0x17003395 RID: 13205
		// (get) Token: 0x0600B653 RID: 46675 RVA: 0x001EC5C8 File Offset: 0x001EA7C8
		// (set) Token: 0x0600B654 RID: 46676 RVA: 0x001EC5D0 File Offset: 0x001EA7D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurAreaInfo RogueTournCurAreaInfo
		{
			get
			{
				return this.rogueTournCurAreaInfo_;
			}
			set
			{
				this.rogueTournCurAreaInfo_ = value;
			}
		}

		// Token: 0x17003396 RID: 13206
		// (get) Token: 0x0600B655 RID: 46677 RVA: 0x001EC5D9 File Offset: 0x001EA7D9
		// (set) Token: 0x0600B656 RID: 46678 RVA: 0x001EC5E1 File Offset: 0x001EA7E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurGameInfo RogueTournCurGameInfo
		{
			get
			{
				return this.rogueTournCurGameInfo_;
			}
			set
			{
				this.rogueTournCurGameInfo_ = value;
			}
		}

		// Token: 0x0600B657 RID: 46679 RVA: 0x001EC5EA File Offset: 0x001EA7EA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournCurInfo);
		}

		// Token: 0x0600B658 RID: 46680 RVA: 0x001EC5F8 File Offset: 0x001EA7F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournCurInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RogueTournCurAreaInfo, other.RogueTournCurAreaInfo) && object.Equals(this.RogueTournCurGameInfo, other.RogueTournCurGameInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B659 RID: 46681 RVA: 0x001EC64C File Offset: 0x001EA84C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueTournCurAreaInfo_ != null)
			{
				num ^= this.RogueTournCurAreaInfo.GetHashCode();
			}
			if (this.rogueTournCurGameInfo_ != null)
			{
				num ^= this.RogueTournCurGameInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B65A RID: 46682 RVA: 0x001EC69E File Offset: 0x001EA89E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B65B RID: 46683 RVA: 0x001EC6A6 File Offset: 0x001EA8A6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B65C RID: 46684 RVA: 0x001EC6B0 File Offset: 0x001EA8B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurAreaInfo_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.RogueTournCurAreaInfo);
			}
			if (this.rogueTournCurGameInfo_ != null)
			{
				output.WriteRawTag(154, 28);
				output.WriteMessage(this.RogueTournCurGameInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B65D RID: 46685 RVA: 0x001EC710 File Offset: 0x001EA910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueTournCurAreaInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurAreaInfo);
			}
			if (this.rogueTournCurGameInfo_ != null)
			{
				num += 2 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurGameInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B65E RID: 46686 RVA: 0x001EC768 File Offset: 0x001EA968
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournCurInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueTournCurAreaInfo_ != null)
			{
				if (this.rogueTournCurAreaInfo_ == null)
				{
					this.RogueTournCurAreaInfo = new RogueTournCurAreaInfo();
				}
				this.RogueTournCurAreaInfo.MergeFrom(other.RogueTournCurAreaInfo);
			}
			if (other.rogueTournCurGameInfo_ != null)
			{
				if (this.rogueTournCurGameInfo_ == null)
				{
					this.RogueTournCurGameInfo = new RogueTournCurGameInfo();
				}
				this.RogueTournCurGameInfo.MergeFrom(other.RogueTournCurGameInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B65F RID: 46687 RVA: 0x001EC7E8 File Offset: 0x001EA9E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B660 RID: 46688 RVA: 0x001EC7F4 File Offset: 0x001EA9F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 98U)
				{
					if (num != 3610U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueTournCurGameInfo_ == null)
						{
							this.RogueTournCurGameInfo = new RogueTournCurGameInfo();
						}
						input.ReadMessage(this.RogueTournCurGameInfo);
					}
				}
				else
				{
					if (this.rogueTournCurAreaInfo_ == null)
					{
						this.RogueTournCurAreaInfo = new RogueTournCurAreaInfo();
					}
					input.ReadMessage(this.RogueTournCurAreaInfo);
				}
			}
		}

		// Token: 0x040049B6 RID: 18870
		private static readonly MessageParser<RogueTournCurInfo> _parser = new MessageParser<RogueTournCurInfo>(() => new RogueTournCurInfo());

		// Token: 0x040049B7 RID: 18871
		private UnknownFieldSet _unknownFields;

		// Token: 0x040049B8 RID: 18872
		public const int RogueTournCurAreaInfoFieldNumber = 12;

		// Token: 0x040049B9 RID: 18873
		private RogueTournCurAreaInfo rogueTournCurAreaInfo_;

		// Token: 0x040049BA RID: 18874
		public const int RogueTournCurGameInfoFieldNumber = 451;

		// Token: 0x040049BB RID: 18875
		private RogueTournCurGameInfo rogueTournCurGameInfo_;
	}
}
